Downloaded from http://www.vbulletin.org/forum/showthread.php?t=195884 Digital Jedi Presents

DJ's AMEs :: Media Definitions for AME 2.5

These XML Files must be imported through your AME CP. That requires DJ's AME :: The Ultimate Automatic Media Embedder to be installed on your forum. So go get it. Get it now!


credits

These definitions were seeded by contributions from the vBulletin.org community over the course of several years. I've added (quite a few) of my own over time, and I gladly accept new ones if you've got 'em. Feel free to post your contributions in the thread, either as attachments or in [CODE] tags. I double check and test all definitions before adding them to the repository so they're not only consistent, but sort properly in your AME CP.

Definitions for adult websites are maintained by Digital Sith and can be found in his thread.


import

I see a number of posts on vB.org, and across the web, asking why you get errors when you try to install these through the Product Manager (even while quoting the text above that says you're not supposed to do that.) So to make this as clear as I can:

  1. First, you have to have DJ's AME 2.5.7 installed. Once that's done, you may proceed to step 2.
  2. Download and Unzip the ZIP folder(s).
  3. Some definitions for some websites require a supporting image to be uploaded to your forum. Upload the contents of "UPLOAD to Forum Root" to your forum's root directory.
  4. Go to your Admin CP »» AME CP »» Import Definitions and choose one of the XML files you just unzipped. Import it!
  5. Review and deselect any definitions you don't want, and click Import to finalize the import process.
  6. Look over your definitions to make sure the ones you wanted successfully imported.

New Functionality :: "Extra Code"

In AME 2.5.7, the Extra Code feature extends AME support to websites that it previously couldn't embed media from. See the Extra Code.html file to find out which definitions require this Advanced Options feature.


Local Hosted Definitions

The file DJs-AMEs-media-definitions-LOCAL.xml are definitions that allow you to embed media located on your own server. Previously these had to be edited to include your site name. The current set shouldn't require any edits. The definitions currently support a wide range of file formats, including HTML 5 media and assorted forms of documents. NOTE: These do not embed attachments.

Included in the XML are a series of definitions that will embed documents using a Google Drive embedder. Sometimes these will fail to load if the document is especially large. Currently looking for a better solution.

The definition HTML/Markup is a special definition that will embed file types like .html, .css, .js and .c or .h files. This is turned off by default, as it would embed any link pointing to a CSS or HTML file. Use with caution and only if you need it. The regex can easily be edited to exclude extensions you don't need to embed (just be sure not to leave a pipe "|" at the end), or to include additional extensions like .php. For example:

https?://(?<Domain>[\w\.]+)(?<!google)\.(?<TDL>[\w]{2,6})/(?<Directory>.+)\.(?<Extension>css|html|cpp|hpp|h|js|c|php)

Note that adding PHP file support does work, but would embed any posted link in your forum that ended in .php. That's ALL OF THEM! So use with caution, or edit the regex to exclude your website, the same way it excludes Google:

https?://(?<Domain>[\w\.]+)(?<!google|YOURSITENAME)\.(?<TDL>[\w]{2,6})/(?<Directory>.+)\.(?<Extension>css|html|cpp|hpp|h|js|c)

So YOURSITENAME would be the part of www.yoursitename.com that's appropriate. No .com. DON'T LEAVE OUT THE PIPE! "|"


Legacy Definitions

If you're wondering what the file DJs-AMEs-media-definitions-LEGACY.xml is, these are older definitions that still work for older website URL strings. Websites change their URLs and embed code frequently, which is why definitions have to be updated all the time. This usually makes the old definition defunct. But in some cases, older definitions are still practical. This can be for a number of reasons. Maybe a given website's older URLs are still circulating the web, and can still be converted to embedding. Maybe older posts, with older embeds, need the older definition so they'll still appear properly. Maybe something else. In any event, these definitions are here should you need them. It's unlikely you'd need them if you're just starting out.


Downloads Badges psd

The Downloads Badges for Customizing.psd file is the Photoshop template I created to make the downloads badges for file sharing websites, such as the one below. I made it available here in case you want to customize them or make your own. If you don't have Photoshop, you can always try freeware such as GIMPshop


Support

There are a number of troubleshooting tips, common problems and resources available in the first few posts of each AME thread. Consult these to see if your problem has already been addressed, and for individual notes about definitions with special conditions.

  • DJ's Definitions FAQ
    I try to keep this updated with the latest notes about definitions that have special conditions or peculiarities
  • Frequently Asked Questions
    This FAQ addresses the most common problems associated with AME 2.5
  • Resources
    Want to learn how to make your own definitions? These resources will teach you how

Definitions List

The following is a list of supported websites categorized by the type of definitions that support them. A couple of things to take note of are 1) some websites have more than one definition, either out of necessity, or to extend website functionality. Those kind of definitions are clearly labelled. 2) Some definitions will be turned off when you import them. This is because, in some cases, a website might have two kinds of media (e.g. audio and video), and there was no reasonable way to make definitions to support both at the same time. So I include both, with one turned off, so you can toggle the two definitions at your own discretion. Definitions like this will usually appear close to each other in the AME CP, unless you've changed their display order.

Games
GamesOpoly
JigZone
ProProfs Brain Games


Music & Audio
Audioboo
eBaums World
eSnips
GoEar
Playlist
ProstoPleer
SoundClick
SoundClick Playlists
SoundCloud
SoundCloud Playlists


Miscellaneous
Amazon Links
authorSTREAM
CafePress
CNET Downloads
Daily HaHa (Funny Pictures)
eBay
Facebook Pages & Posts
FileHippo
Google (Let Me Google That For You)
Google Search Results
Google Maps
x Google+ Profiles, Posts & Pages
x Google+ Communities
ImageShack Slideshows
Indiegogo Widgets
Issuu
jsFiddle
Kickstarter Widgets
MediaFire
Pastebin
Picasa Web Albums
xPinterest Boards, Pins & Profiles
RapidShare
RockYou
Scribd
Slide
SlideShare
Twitter
Wikipedia
Zippyshare
zSHARE


Video
220
2K Sports
5min Life Videopedia
Adult Swim
Alli Sports
Apache Clips
Atom
BBC (International)
BikerPunks
Blip
Bloomberg
Break
CBS News
CBS Sports (AKA Sportsline)
Clarin
Clipfish
ClipShack
ClipSyndicate
Clip.vn
CNBC
CNN
College Humor
Comedy Central
Crackle
Crave Online
Current
Daily HaHa
Dailymotion Playlists
Dark Orange
Diesel Bombers
DisneyTube
DocStock
Dorks
EA Sports World
eBaums World
eHow
eSnips
ESPN
Facebook
FanDome
FileCabi
Flektor
Flickr
FloTrack
Flowrestling
Fox News
FQuick
Funny Or Die
G4TV
Game Trailers
GameSpot
GameVideos
Giant Bomb
Globo
Grapheine`s BombayTV
Guba
Guitar-Tube
H3Press
Hulu
I Am Bored
IGN
iKlipz
ImageShack
Izlesene
Izleturk
JibJab
Joe Cartoon
Jokeroo
JustinTV
Koreus
Last.FM
Layartancap
Libero
Live Video
LiveLeak
Loombo
Magnify
Media Matters
MLB
MLG: The Game Room
Motionbox
MotorsportsMad
MovShare
MSNBC
MTV
MTV Music
MyModelTalk
MySpace
MyVideo.Co.Za
MyVideo.De
MyVido1
NASCAR
Newsclipper
NFL
NOLA
Nollywood
NothingToxic
OpenFile
PC Planets (MetaCafe Videos)
PC Planets (YouTube Videos)
Photobucket
Photosynth
Poker Tube
Porkolt
Pure Pwnage
Putfile
Putlocker
Raw Vegas
Red Bull Signature Series
Rediff
Revision3
Revver
RuTube
Sclipo
Sevenload
Social Paintball
SockShare
South Park (Clips)
Speedaholic
Spike
Spiked Humor
StreetFire
Tangle
TED
The Colbert Report (Clips)
The Daily Show (Clips)
The Escapist
The Onion
The WB
TinyPic
Today's BIG Thing
Trailer Addict
Tu
Tudou
UOL
UOL Mais
UOL Videolog
Telly (Twitvid)
Ustream (Live & Recorded)
Veevr
Veoh
Vevo
Viddler
Video Tube
Video.Mail.Ru
VideoJug
Vidiac
vidiLife
VistaKU
Vreel
Wall Street Journal
Wat.TV
WeGame
World Star Hip-Hop
WWLTV
Xfire
Yahoo!
Yatahonga
YouKu
YouKu Playlists
YouTube Playlists


Locally Hosted Content
DIVX (.divx, .mkv)
Flash (.swf)
HTML 5 Player (.ogg, .ovg, .webm)
MP3 (.mp3, mp2)
QuickTime (.mov, .mp4, .3gp)
RealMedia (.rm, .ram)
Windows Media (.wmv, .asx, .avi)
Documents

(.pps, .pptx, .ppt, .pdf, .docx, .doc, .txt, .pages, .xlsx, .xls, .xps)

Graphic Files

(.ai, .psd, .dxf, .tif, .tiff, .eps, .ps)

Markup/Code

(See READ ME file: .css, .html, .cpp, .hpp, .h, .js, .c)


Troubleshooting

As always, remember to ask AME product questions in the AME product thread, and definition questions in the AME definitions thread. This way info about the two doesn't become muddled.



Show your Support. Validate my existence. Buy me a sandwich. I'm wasting away.
Seriously. I'm really, REALLY hungry.

City of Gamers Online Community | Eon Press Presents | Digital Jedi.com | DJ's Dynamic Design